import React, {Component} from "react";
import {withInnerWidth} from "./withInnerWidth";
class FirstComponentHoc extends Component {
  render() {
    return (
        <div className="" style={{fontSize: this.props.innerWidth / 1000 * 32}}>
          第一个组件（HOC的方式）
        </div>
    );
  }
}
export default withInnerWidth()(FirstComponentHoc);
